<?php

declare(strict_types=1);

namespace app\model;

use think\model\concern\SoftDelete;

/**
 * 
 *
 * @mixin \think\Model
 * @property int $id
 * @property int $supplier_id
 * @property int $fast_state 快充状态 0关闭 1开启
 * @property float $fast_settle_value 快充预充折扣
 * @property int $fast_priority 快充优先级
 * @property int $slow_state 慢充状态 0关闭 1开启
 * @property float $slow_settle_value
 * @property int $slow_priority 慢充优先级
 * @property string $updated_at 创建时间
 * @property string $created_at 更新时间
 * @property string $deleted_at
 * @property-read \app\model\BaseSupplier $supplier
 * @method static \think\db\Query onlyTrashed()
 * @method static \think\db\Query withTrashed()
 */
class RechargeSupplierConfig extends CommonModel
{
    use SoftDelete;

    public function supplier()
    {
        return $this->belongsTo(BaseSupplier::class, 'supplier');
    }
}
